import request from '@/utils/request'
import upload from "@/utils/upload";

// 获取
export function getList(params) {
  return request({
    'url': '/bs/shouye/page/list',
    method: 'get',
    params
  })
}

// 上传图片
export function uploadImg(data) {
  return upload({
    url: '/common/upload',
    name: data.name,
    filePath: data.filePath,
    formData: data.formData
  })
}

